package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Author
 * @create 2020-06-22 8:50
 * @Description
 */
@Getter
@Setter
public class I18nUpdateItemDTO extends BaseDTO {
    @NotEmpty(message = "{dto.msg.initQuotation.xbbCode.NotEmpty}")
    private String xbbCode;
    
    /**
     * 被更新的公司id
     */
    private List<String> corpidList;
    /**
     * 需要更新的下属选择字段的字段，如：attr,表示text_11
     * {
     *      "attr":"text_11",
     *      "items":[
     *             {
     *                 "text":"销售机会",
     *                 "value":301,
     *                 "checked":true,
     *                 "isOther":0
     *             },
     *             {
     *                 "text":"合同订单",
     *                 "value":201,
     *                 "checked":false,
     *                 "isOther":0
     *             },
     *             {
     *                 "text":"报价单",
     *                 "value":4700,
     *                 "checked":false,
     *                 "isOther":0
     *             }
     *         ]
     * }
     */
    private String attr;
    
    private Integer businessTypeList;
}
